<div class="ciuusers index">
  <h2><?php __('Cambio clave');?></h2>
  <table cellpadding="0" cellspacing="0">
  <tr>
      <th><?php echo $this->Paginator->sort('name user');?></th>
      <th><?php echo $this->Paginator->sort('password');?></th>
      <th class="actions"><?php __('Actions');?></th>
  </tr>
  <?php
  $i = 0;
  foreach ($ciuusers as $ciuuser):
    $class = null;
    if ($i++ % 2 == 0) {
      $class = ' class="altrow"';
    }
  ?>
  <tr<?php echo $class;?>>
    <td><?php echo $ciuuser['Ciuuser']['username']; ?>&nbsp;</td>
    <td><?php echo $ciuuser['Ciuuser']['password']; ?>&nbsp;</td>
    <td class="actions">
      <?php echo $this->Html->link(__('Cambiar', true), array('action' => 'editchangepass', $ciuuser['Ciuuser']['id'])); ?>
      </td>
  </tr>
<?php endforeach; ?>
  </table>
  <p>
  <?php
  echo $this->Paginator->counter(array(
  'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
  ));
  ?>  </p>

  <div class="paging">
    <?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
   |  <?php echo $this->Paginator->numbers();?>
 |
    <?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
  </div>
</div>
<div class="actions">
  <h3><?php __('Actions'); ?></h3>
  <ul>
    <li><?php echo $this->Html->link(__('New Ciuuser', true), array('action' => 'add')); ?></li>
    <li><?php echo $this->Html->link(__('List Ciuuserstates', true), array('controller' => 'ciuuserstates', 'action' => 'index')); ?> </li>
    <li><?php echo $this->Html->link(__('New Ciuuserstate', true), array('controller' => 'ciuuserstates', 'action' => 'add')); ?> </li>
    <li><?php echo $this->Html->link(__('List Ciuusertypes', true), array('controller' => 'ciuusertypes', 'action' => 'index')); ?> </li>
    <li><?php echo $this->Html->link(__('New Ciuusertype', true), array('controller' => 'ciuusertypes', 'action' => 'add')); ?> </li>
    <li><?php echo $this->Html->link(__('List Ciustudenttypes', true), array('controller' => 'ciustudenttypes', 'action' => 'index')); ?> </li>
    <li><?php echo $this->Html->link(__('New Ciustudenttype', true), array('controller' => 'ciustudenttypes', 'action' => 'add')); ?> </li>
    <li><?php echo $this->Html->link(__('List Ciucontracts', true), array('controller' => 'ciucontracts', 'action' => 'index')); ?> </li>
    <li><?php echo $this->Html->link(__('New Ciucontract', true), array('controller' => 'ciucontracts', 'action' => 'add')); ?> </li>
    <li><?php echo $this->Html->link(__('List Ciucourses', true), array('controller' => 'ciucourses', 'action' => 'index')); ?> </li>
    <li><?php echo $this->Html->link(__('New Ciucourse', true), array('controller' => 'ciucourses', 'action' => 'add')); ?> </li>
    <li><?php echo $this->Html->link(__('List Ciucourse Ciustudents', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'index')); ?> </li>
    <li><?php echo $this->Html->link(__('New Ciucourse Ciustudent', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'add')); ?> </li>
  </ul>
</div>